<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>Bootstrap 实例 - 基本的表格</title>
    <link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css">
    <script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
    <script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>
<body>

<table class="table">
    <thead>
    <tr>
        <th>ID</th>
        <th>分类名称</th>
        <th>分类图片</th>
        <th>是否显示</th>
        <th>是否热门</th>
        <th>操作</th>
    </tr>
    </thead>
    <tbody>
    {volist name='list' id='user'}
    <tr>
        <td>{$user.id}</td>
        <td>{$user.name}</td>
        <td>{$user.img}</td>
        <td>{$user.show}</td>
        <td>{$user.ishot}</td>
        <td>
            <a href=""><button>删除</button></a>
            <a href=""><button>修改</button></a>
        </td>
    </tr>
    {/volist}
    </tbody>
</table>
{$list|raw}
</body>
</html>